Total Complexity | 73 |
Dependencies | 21 |
Dependents | 2 |
Total lines | 439 |
Lines of code | 269 |
Logical lines of code | 170 |
Comment lines | 83 |
Methods | 15 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getDiscountedProductsForCart() | 30 | 31 | 117 | |
getDiscountedProductPrice() | 50 | 9 | 29 | |
getActiveRulesForProduct() | 50 | 9 | 28 | |
calculateProduct() | 56 | 5 | 17 | |
getGiftedCartProducts() | 58 | 5 | 15 | |
recalculatePersistenceCache() | 60 | 2 | 13 | |
install() | 73 | 2 | 5 | |
processCartManually() | 75 | 2 | 5 | |
isRuleMatchedCart() | 65 | 2 | 9 | |
__construct() | 68 | 1 | 7 | |
withContext() | 74 | 1 | 5 | |
isGlobalEngineExisting() | 80 | 1 | 3 | |
getInstance() | 81 | 1 | 3 | |
getProductProcessor() | 82 | 1 | 3 | |
getProductsWithSalePriceAdp() | 65 | 1 | 10 |